<?
require_once("../config/dbconn.php");require_once("../config/usercls.php");require_once("pwd1cls.php");

$sql="select * from {$db_prefix}users where id='".$_SESSION['sys_userid']."'";
$rs=$db->get_one($sql);
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	 background-image: url(image1/bg-body.png);
}
-->
</style>

<link href="images/skin.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="17" height="29" valign="top" background="images/mail_leftbg1.png"><img src="images/left-top-right1.png" width="17" height="29" /></td>
    <td width="100%" height="29" valign="top" background="images/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
        <td height="31"><div class="titlebt">&nbsp;&nbsp;账户金额</div></td>
      </tr>
    </table></td>
    <td width="16" valign="top" background="images/mail_rightbg.png"><img src="images/nav-right-bg.png" width="16" height="29" /></td>
  </tr>
  <tr>
    <td height="71" valign="middle" background="images/mail_leftbg1.png">&nbsp;</td>
    <td valign="top" ><table width="100%" height="138" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="13" valign="top">&nbsp;</td>
      </tr>
      <tr>
        <td valign="top">
		
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td colspan="3"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="nowtable">
                <tr>
                  <td class="left_bt2">&nbsp;&nbsp;&nbsp;&nbsp;</td>
                </tr>
              </table></td>
            </tr>
            <tr>
              <td height="30" colspan="3">
			  
			  <table width="100%" height="150" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td align="center" class="left_txt">会员名</td>
                  <td height="30" class="left_txt"><? echo $rs['username']?></td>
                </tr>
                <tr>
                  <td align="center" class="left_txt">报单币余额</td>
                  <td height="30" class="left_txt"><? echo $rs['price']?>人民币/RMB. ￥</td>
                </tr>
                <tr style="display:">
                  <td align="center" class="left_txt">可用余额</td>
                  <td height="30" class="left_txt"><? echo $rs['jjprice']?>人民币/RMB. ￥</td>
                </tr>
				<tr style="display:">
                  <td align="center" class="left_txt">重消累计</td>
                  <td height="30" class="left_txt"><? echo $rs['cxmoney']?>人民币/RMB. ￥</td>
                </tr>
                <tr style="display:">
                  <td align="center" class="left_txt">日分红账户</td>
                  <td height="30" class="left_txt"><? echo $rs['fh_money']?>人民币/RMB. ￥</td>
                </tr>
                
              </table></td>
            </tr>
            
            <tr></tr>
            <tr>
              <td width="50%" height="30" align="right"><a href="caiwu_lst.php" style="color:#FF0000">查看财务记录/View financial records</a></td>
              <td width="6%" height="30" align="right">&nbsp;</td>
              <td width="44%" height="30">&nbsp;</td>
            </tr>
            <tr>
              <td height="30" colspan="3">&nbsp;</td>
            </tr>
          </table>
		 
		  </td>
      </tr>
    </table></td>
    <td background="images/mail_rightbg.png">&nbsp;</td>
  </tr>
  <tr>
    <td valign="middle" background="images/mail_leftbg1.png"><img src="images/buttom_left2.png" width="17" height="17" /></td>
      <td height="17" valign="top" background="images/buttom_bgs.png"><img src="images/buttom_bgs.png" width="17" height="17" /></td>
    <td background="images/mail_rightbg.png"><img src="images/buttom_right2.png" width="16" height="17" /></td>
  </tr>
</table>

</body>
</html>